package com.hay.oss.config;


import com.hay.oss.util.OssSpringUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

/**
 * 工具配置类
 *
 * @author Chill
 */
@Configuration
@Order(Ordered.HIGHEST_PRECEDENCE)
public class HayOssToolConfiguration {

	/**
	 * Oss Spring上下文缓存
	 *
	 * @return OssSpringUtil
	 */
	@Bean
	public OssSpringUtil ossSpringUtil() {
		return new OssSpringUtil();
	}

}
